//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "fn_checkActionDrag.sqf"
#include <btc_macros.h>
TRACE_1("Start",_this);


	_cond = false;
	_men = nearestObjects [vehicle player, ["Man"], 2];
	if (count _men > 1) then
	{
		if (BTC_pvp == 1) then
		{
			if (side (_men select 1) == BTC_side && format ["%1", (_men select 1) getVariable ["BTC_need_revive",0]] == "1" && !BTCR_dragging && format ["%1", (_men select 1) getVariable ["BTCR_dragged",0]] == "0") then {_cond = true;};
		}
		else
		{
			if (format ["%1", (_men select 1) getVariable ["BTC_need_revive",0]] == "1" && !BTCR_dragging && format ["%1", (_men select 1) getVariable ["BTCR_dragged",0]] == "0") then {_cond = true;};
		};
	};
	_cond
